# try:
#
#     print('abc'[100]) # IndexError: string index out of range
#     print(10 / 0)  # ZeroDivisionError: division by zero
# except ZeroDivisionError as e:
#     print('出错了..除零异常..')


try:
    # print('abc'[100]) # IndexError: string index out of range
    print(10 / 0)  # ZeroDivisionError: division by zero
except Exception as e:
    print(f'出错了....原因是:{e}')